<?php
	$user="root";
	$pass="root";
	$databases="minecraft";
	$conn=mysqli_connect("localhost", $user, $pass, $databases);
	if (mysqli_connect_errno($conn)) {
	    exit("数据库连接失败。");
	}
?>